<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Twitter Example</title>
    <style>
        a.button {
            text-decoration: none;
        }
    </style>
</head>
<body>
<a onclick="window.open('http://175.178.53.3:3000/discord-login','','width=800,height=300')">test测试API</a>
<a onclick="window.open('http://127.0.0.1:3000/discord-login','','width=800,height=300')">local测试API</a>
</body>
</html>
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script>
    function test() {
        $.ajax({
            type: 'GET',
            url: 'http://127.0.0.1:3000',
            data: '',
            dataType: 'JSON',
            error: function () {
                alert('网络错误');
            },
            success: function (res) {
                alert("11111")
            }
        });
    }
</script>
